package happy.robot.mapper;

import happy.robot.entity.Customer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by wang on 17-11-21.
 */
public interface CustomerMapper {

    int insertCustomer(Customer customer);

    int selectCustomerCount();

    List<Customer> selectCustomers(@Param("offset") int offset, @Param("rows") int rows);

    int updateRemark(@Param("id") Long id, @Param("newRemark") String newRemark);
}
